<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>检录管理</title>
<link rel="stylesheet" type="text/css" href="__PUBLIC__/css/bootstrap.min.css">
<link href="__PUBLIC__/css/font-awesome.css" rel="stylesheet">
<script src="__PUBLIC__/js/jquery.min.js"></script>
<style type="text/css">
.autoflow-x {
	overflow-x: auto;
}
</style>
</head>
<body>
<!-- 检录管理 -->
<div class="check-m">
	<div class="autoflow-x">
		<table class="table">
			<tr style="background-color: #F2F3F7;">
				<th>ID</th>
				<th>赛事名称</th>
				<th>竞赛日期</th>
				<th>状态</th>
				<th>详情</th>
				<th>操作</th>
			</tr>
			<volist name="ck_gamelist" id="vo">
			<if condition="$vo.g_date eq $nowDate">
				<tr>
					<td>{$vo.g_id}</td>
					<td>{$vo.g_name}</td>
					<td>{$vo.g_start}</td>
					<td>
						<if condition="$vo.g_flag eq 0">等待检录
						<elseif condition="$vo.g_flag eq 1" />检录中
						<else />检录结束
						</if>
					</td>
					<td><a href="{:U('index/check_ch',array('id'=>$vo['g_id']))}">详情</a></td>
					<td>
						<if condition="$vo.g_flag eq 0">
							<a href="__URL__/be_check/id/{$vo.g_id}"><button class="btn" />开始检录</button></a>
						<else /><a href="__URL__/end_check/id/{$vo.g_id}"><button class="btn" />检录结束</button></a>
						</if>					
					</td>
				</tr>
			<else />
			</if>
			</volist>
		</table>
	</div>
</div>
</body>
</html>